Part Number Hot Search : 
ZXMN6A07 ISD2575 3216C SIEMENS E28F64 1N1186R AAT11 BDV65
Product Description
Full Text Search
 

To Download DS1996L-F5 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 18 91099 special features 65536 bits of read/write nonvolatile memory overdrive mode boosts communication speed to 142k bits per second 256-bit scratchpad ensures integrity of data transfer memory partitioned into 256-bit pages for packetizing data data integrity assured with strict read/write protocols operating temperature range from -40c to +70c over 10 years of data retention f5 microcan tm common i button features unique, factory-lasered and tested 64-bit registration number (8-bit family code + 48- bit serial number 8-bit crc tester) assures absolute traceability because no two parts are alike multidrop controller for microlan digital identification and information by momentary contact chip-based data carrier compactly stores information data can be accessed while affixed to object economically communicates to bus master with a single digital signal at 16.3k bits per second standard 16 mm diameter and 1-wire tm protocol ensure compatibility with i button family button shape is self-aligning with cup- shaped probes durable stainless steel case engraved with registration number withstands harsh environments all dimensions are shown in millimeters easily affixed with self-stick adhesive backing, latched by its flange, or locked with a ring pressed onto its rim presence detector acknowledges when reader first applies voltage meets ul#913 (4 th edit); intrinsically safe apparatus, approved under entity concept for use in class i, division 1, group a, b, c and d locations (application pending) ordering information DS1996L-F5 f5 microcan examples of accessories ds9096p self-stick adhesive pad ds9101 multi-purpose clip ds9093ra mounting lock ring ds9093f snap-in fob ds9092 i button probe ds1996 64kbit memory i button tm www.dalsemi.com data ground 0.36 0.51 5.89 c 1993 yyww registered rr 5e 0c 000000fbc52b 16.25 17.35
ds1996 2 of 18 i button description the ds1996 memory i button is a rugged read/write data carrier that acts as a localized database that can be easily accessed with minimal hardware. the nonvolatile memory offers a simple solution to storing and retrieving vital information pertaining to the object to which the i button is attached. data is transferred serially via the 1-wire protocol which requires only a single data lead and a ground return. the scratchpad is an additional page that acts as a buffer when writing to memory. data is first written to the scratchpad where it can be read back. after the data has been verified, a copy scratchpad command will transfer the data to memory. this process ensures data integrity when modifying the memory. a 48- bit serial number is factory lasered into each ds1996 to provide a guaranteed unique identity which allows for absolute traceability. the durable microcan package is highly resistant to environmental hazards such as dirt, moisture, and shock. its compact button-shaped profile is self-aligning with mating receptacles, allowing the ds1996 to be easily used by human operators. accessories permit the ds1996 to be mounted on almost any surface including plastic key fobs, photo-id badges and printed circuit boards. applications include access control, work-in-progress tracking, electronic travelers, storage of calibration constants, and debit tokens. overview the block diagram in figure 1 shows the relationships between the major control and memory sections of the ds1996. the ds1996 has three main data components: 1) 64-bit lasered rom, 2) 256-bit scratchpad and 3) 65536-bit sram. the hierarchial structure of the 1-wire protocol is shown in figure 2. the bus master must first provide one of the six rom function commands, 1)read rom, 2) match rom, 3) search rom, 4) skip rom, 5) overdrive-skip rom or overdrive-match rom. upon completion of an overdrive rom command byte executed at standard speed, the device will enter overdrive mode where all subsequent communication occurs at a higher speed. the protocol required for these rom function commands is described in figure 9. after a rom function command is successfully executed, the memory functions become accessible and the master may provide any one of the four memory function commands. the protocol for these memory function commands is described in figure 7. all data read and written least significant bit first. parasite power the block diagram (figure 1) shows the parasite-powered circuitry. this circuitry ?steals? power whenever the data line is high. the data line will provide sufficient power as long as the specified timing and voltage requirements are met. the advantages of parasite power are two-fold: 1) by parasiting off this input, lithium is conserved and 2) if the lithium is exhausted for any reason, the rom may still be read normally. 64-bit lasered rom each ds1996 contains a unique rom code that is 64 bits long. the first eight bits are a 1-wire family code. the next 48 bits are a unique serial number. the last eight bits are a crc of the first 56 bits. (figure 3.) the 1-wire crc is generated using a polynomial generator consisting of a shift register and xor gates as shown in figure 4. the polynomial is x 8 + x 5 + x 4 + 1. additional information about the dallas 1- wire cyclic redundancy check is available in the book of ds19xx i button standards. the shift register bits are initialized to zero. then starting with the least significant bit of the family code, one bit at a time is shifted in. after the 8 th bit of the family code has been entered, then the serial number is entered. after the 48 th bit of the serial number has been entered, the shift register contains the crc value. shifting in the eight bits of crc should return the shift register to all zeros.
ds1996 3 of 18 ds1996 block diagram figure 1
ds1996 4 of 18 hierarchical structure for 1-wire protocol figure 2 64-bit lasered rom figure 3 8-bit crc code 48-bit serial number 8-bit family code (0ch) msb lsb msb lsb msb lsb 1-wire crc generator figure 4 bus master other devices ds 1996 command available data fields level: commands: affected: read rom 64-bit rom match rom 64-bit rom search rom 64-bit rom skip rom n/a overdrive skip rom n/a overdrive match rom 64-bit rom write scratchpad 256-bit scratchpad read scratchpad 256-bit scratchpad copy scratchpad 64k-bit memory read memory 64k-bit memory ds 1996- specific memory function commands (see figure 7) 1-wire rom function commands (see figure 9) 1-wire bus
ds1996 5 of 18 memory the memory map in figure 5 shows a 32-byte page called the scratchpad and additional 32-byte pages called memory. the ds1996 contains 256 pages which comprise the 65536-bit sram. the scratchpad is an additional page that acts as a buffer when writing to memory. address registers and transfer status because of the serial data transfer, the ds1996 employs three address registers, called ta1, ta2 and e/s (figure 6). registers ta1 and ta2 must be loaded with the target address to which the data will be written or from which data will be sent to the master upon a read command. register e/s acts like a byte counter and transfer status register. it is used to verify data integrity with write commands. therefore, the master only has read access to this register. the lower five bits of the e/s register indicate the address of the last byte that has been written to the scratchpad. this address is called ending offset. bit 5 of the e/s register, called pf or ?partial byte flag,? is set if the number of data bits sent by the master is not an integer multiple of 8. bit 6, of or ?overflow,? is set if more bits are sent by the master than can be stored in the scratchpad. note that the lowest five bits of the target address also determine the address within the scratchpad, where intermediate storage of data will begin. this address is called byte offset. if the target address for a write command is 13ch for example, then the scratchpad will store incoming data beginning at the byte offset 1ch and will be full after only four bytes. the corresponding ending offset in this example is 1fh. for best economy of speed and efficiency, the target address for writing should point to the beginning of a new page, i.e., the byte offset will be 0. thus the full 32-byte capacity of the scratchpad is available, resulting also in the ending offset of 1fh. however, it is possible to write one or several contiguous bytes somewhere within a page. the ending offset together with the partial and overflow flag is mainly a means to support the master checking the data integrity after a write command. the highest valued bit of the e/s register, called aa or authorization accepted, acts as a flag to indicate that the data stored in the scratchpad has already been copied to the target memory address. writing data to the scratchpad clears this flag. writing with verification to write data to the ds1996, the scratchpad has to be used as intermediate storage. first the master issues the write scratchpad command to specify the desired target address, followed by the data to be written to the scratchpad. in the next step, the master sends the read scratchpad command to read the scratchpad and to verify data integrity. as preamble to the scratchpad data, the ds1996 sends the requested target address ta1 and ta2 and the contents of the e/s register. if one of the flags of or pf is set, data did not arrive correctly in the scratchpad. the master does not need to continue reading; it can start a new trial to write data to the scratchpad. similarly, a set aa flag indicates that the write command was not recognized by the i button. if everything went correctly, all three flags are cleared and the ending offset indicates the address of the last byte written to the scratchpad. now the master can continue verifying every data bit. after the master has verified the data, it has to send the copy scratchpad command. this command must be followed exactly by the data of the three address registers ta1, ta2 and e/s as the master has read them verifying the scratchpad. as soon as the i button has received these bytes, it will copy the data to the requested location beginning at the target address. memory function commands the ?memory function flow chart? (figure 7) describes the protocols necessary for accessing the memory. an example follows the flowchart. the communication between master and ds1996 takes place either at regular speed (default, od=0) or at overdrive speed (od=1). if not explicitely set into the overdrive mode the ds1996 assumes regular speed.
ds1996 6 of 18 write scratchpad command [0fh] after issuing the write scratchpad command, the master must first provide the 2-byte target address, followed by the data to be written to the scratchpad. the data will be written to the scratchpad starting at the byte offset (t4:t0). the ending offset (e4: e0) will be the byte offset at which the bus master has stopped writing data. read scratchpad command [aah] this command is used to verify scratchpad data and target address. after issuing the read scratchpad command, the master begins reading. the first two bytes will be the target address. the next byte will be the ending offset/data status byte (e/s) followed by the scratchpad data beginning at the byte offset (t4: t0). the master may read data until the end of the scratchpad after which the data read will be all logic 1?s. ds1996 memory map figure 5 address registers figure 6
ds1996 7 of 18 memory function flow chart figure 7 1) to be transmitted or received at overdrive speed if od=1 2) reset pulse to be transmitted at overdrive speed if od=1; reset pulse to be transmitted at regular speed if od=0 or if the ds1996 is to be reset from overdrive speed to regular speed
ds1996 8 of 18 memory function examples example: write two data bytes to memory locations 0026h and 0027h (the seventh and eighth bytes of page 1). read entire memory. master mode data (lsb first) comments tx reset reset pulse (480-960 s) rx presence presence pulse tx cch issue ?skip rom? command tx 0fh issue ?write scratchpad? command tx 26h ta1, beginning offset=6 tx 00h ta2, address= 00 26h tx <2 data bytes> write 2 bytes of data to scratchpad tx reset reset pulse rx presence presence pulse tx cch issue ?skip rom? command tx aah issue ?read scratchpad? command rx 26h read ta1, beginning offset=6 rx 00h read ta2, address= 00 26h rx 07h read e/s, ending offset=7, flags=0 rx <2 data bytes> read scratchpad data and verify tx reset reset pulse rx presence presence pulse tx cch issue ?skip rom? command tx 55h issue ?copy scratchpad? command tx 26h tx 00h tx 07h ta1 ta2 authorization code e/s tx reset reset pulse rx presence presence pulse tx cch issue ?skip rom? command tx f0h issue ?read memory? command tx 00h ta1, beginning offset=0 tx 00h ta2, address=0000h rx <8192 bytes> read entire memory tx reset reset pulse rx presence presence pulse, done
ds1996 9 of 18 copy scratchpad [55h] this command is used to copy data from the scratchpad to memory. after issuing the copy scratchpad command, the master must provide a 3-byte authorization pattern which is obtained by reading the scratchpad for verification. this pattern must exactly match the data contained in the three address registers (ta1, ta2, e/s, in that order). if the pattern matches, the aa (authorization accepted) flag will be set and the copy will begin. a logic 0 will be transmitted after the data has been copied until a reset pulse is issued by the master. any attempt to reset the part will be ignored while the copy is in progress. copy typically takes 30 s. the data to be copied is determined by the three address registers. the scratchpad data from the beginning offset through the ending offset, will be copied to memory, starting at the target address. anywhere from 1 to 32 bytes may be copied to memory with this command. whole bytes are copied even if only partially written. the aa flag will be cleared only by executing a write scratchpad command. read memory [f0h] the read memory command may be used to read the entire memory. after issuing the command, the master must provide the 2-byte target address. after the two bytes, the master reads data beginning from the target address and may continue until the end of memory, at which point logic 1?s will be read. it is important to realize that the target address registers will contain the address provided. the ending offset/data status byte is unaffected. the hardware of the ds1996 provides a means to accomplish error-free writing to the memory section. to safeguard reading data in the 1-wire environment and to simultaneously speed up data transfers, it is recommended to packetize data into data packets of the size of one memory page each. such a packet would typically store a 16-bit crc with each page of data to ensure rapid, error-free data transfers that eliminate having to read a page multiple times to determine if the received data is correct or not. (see the book of ds19xx i button standards, chapter 7 for the recommended file structure to be used with the 1- wire environment.) 1?wire bus system the 1-wire bus is a system which has a single bus master and one or more slaves. in all instances the ds1996 is a slave device. the bus master is typically a microcontroller. the discussion of this bus system is broken down into three topics: hardware configuration, transaction sequence, and 1-wire signaling (signal types and timing). a 1-wire protocol defines bus transactions in terms of the bus state during specified time slots that are initiated on the falling edge of sync pulses from the bus master. for a more detailed protocol description, refer to chapter 4 of the book of ds19xx i button standards. hardware configuration the 1-wire bus has only a single line by definition; it is important that each device on the bus be able to drive it at the appropriate time. to facilitate this, each device attached to the 1-wire bus must have open drain connection or 3-state outputs. the 1-wire port of the ds1996 is open drain with an internal circuit equivalent to that shown in figure 8. a multidrop bus consists of a 1-wire bus with multiple slaves attached. at regular speed the 1-wire bus has a maximum data rate of 16.3k bits per second. the speed can be boosted to 142k bits per second by activating the overdrive mode. the 1-wire bus requires a pullup resistor of approximately 5 k w . the idle state for the 1-wire bus is high. if for any reason a transaction needs to be suspended, the bus must be left in the idle state if the transaction is to resume. if this does not occur and the bus is left low
ds1996 10 of 18 for more than 16 s (overdrive speed) or more than 120 s (regular speed), one or more of the devices on the bus may be reset. hardware configuration figure 8 transaction sequence the protocol for accessing the ds1996 via the 1-wire port is as follows: initialization rom function command memory function command transaction/data initialization all transactions on the 1-wire bus begin with an initialization sequence. the initialization sequence consists of a reset pulse transmitted by the bus master followed by presence pulse(s) transmitted by the slave(s). the presence pulse lets the bus master know that the ds1996 is on the bus and is ready to operate. for more details, see the ?1-wire signaling? section. rom function commands once the bus master has detected a presence, it can issue one of the six rom function commands. all rom function commands are eight bits long. a list of these commands follows (refer to flowchart in figure 9). read rom [33h] this command allows the bus master to read the ds1996?s 8-bit family code, unique 48-bit serial number, and 8-bit crc. this command can only be used if there is a single ds1996 on the bus. if more than one slave is present on the bus, a data collision will occur when all slaves try to transmit at the same time (open drain will produce a wired-and result). the resultant family code and 48-bit serial number will usually result in a mismatch of the crc. r x = receive t x = transmit
ds1996 11 of 18 match rom [55h] the match rom command, followed by a 64-bit rom sequence, allows the bus master to address a specific ds1996 on a multidrop bus. only the ds1996 that exactly matches the 64-bit rom sequence will respond to the subsequent memory function command. all slaves that do not match the 64-bit rom sequence will wait for a reset pulse. this command can be used with a single or multiple devices on the bus. skip rom [cch] this command can save time in a single drop bus system by allowing the bus master to access the memory functions without providing the 64-bit rom code. if more than one slave is present on the bus and a read command is issued following the skip rom command, data collision will occur on the bus as multiple slaves transmit simultaneously (open drain pulldowns will produce a wired?and result). search rom [f0h] when a system is initially brought up, the bus master might not know the number of devices on the 1- wire bus or their 64-bit rom codes. the search rom command allows the bus master to use a process of elimination to identify the 64-bit rom codes of all slave devices on the bus. the search rom process is the repetition of a simple 3-step routine: read a bit, read the complement of the bit, then write the desired value of that bit. the bus master performs this simple, 3-step routine on each bit of the rom. after one complete pass, the bus master knows the contents of the rom in one device. the remaining number of devices and their rom codes may be identified by additional passes. see chapter 5 of the book of ds19xx i button standards for a comprehensive discussion of a search rom, including an actual example. overdrive skip rom [3ch] on a single-drop bus this command can save time by allowing the bus master to access the memory functions without providing the 64-bit rom code. unlike the normal skip rom command the overdrive skip rom sets the ds1996 in the overdrive mode (od=1). all communication following this command has to occur at overdrive speed until a reset pulse of minimum 480 s duration resets all devices on the bus to regular speed (od=0). when issued on a multidrop bus this command will set all overdrive-capable devices into overdrive mode. to subsequently address a specific overdrive-capable device, a reset pulse at overdrive speed has to be issued followed by a match rom or search rom command sequence. this will shorten the time for the search process. if more than one slave supporting overdrive is present on the bus and the overdrive skip rom command is followed by a read command, data collision will occur on the bus as multiple slaves transmit simultaneously (open drain pulldowns will produce a wired-and result). overdrive match rom [69h] the overdrive match rom command, followed by a 64-bit rom sequence transmitted at overdrive speed, allows the bus master to address a specific ds1996 on a multidrop bus and to simultaneously set it in overdrive mode. only the ds1996 that exactly matches the 64-bit rom sequence will respond to the subsequent memory function command. slaves already in overdrive mode from a previous overdrive skip or match command will remain in overdrive mode. all other slaves that do not match the 64-bit rom sequence or do not support overdrive will return to or remain at regular speed and wait for a reset pulse of minimum 480 s duration. the overdrive match rom command can be used with a single or multiple devices on the bus.
ds1996 12 of 18 1-wire signaling the ds1996 requires strict protocols to ensure data integrity. the protocol consists of four types of signaling on one line: reset sequence with reset pulse and presence pulse, write 0, write 1 and read data. all these signals except presence pulse are initiated by the bus master. the ds1996 can communicate at two different speeds, regular speed and overdrive speed. if not explicitly set into the overdrive mode, the ds1996 will communicate at regular speed. while in overdrive mode the fast timing applies to all wave forms. the initialization sequence required to begin any communication with the ds1996 is shown in figure 10. a reset pulse followed by a presence pulse indicates the ds1996 is ready to send or receive data given the correct rom command and memory function command. the bus master transmits (tx) a reset pulse (t rstl , minimum 480 s at regular speed, 48 s at overdrive speed). the bus master then releases the line and goes into receive mode (rx). the 1-wire bus is pulled to a high state via the pullup resistor. after detecting the rising edge on the data contact, the ds1996 waits (t pdh , 15-60 s at regular speed, 2-6 s at overdrive speed) and then transmits the presence pulse (t pdl , 60-240 s at regular speed, 8-24 s at overdrive speed). a reset pulse of 480 s or longer will exit the overdrive mode returning the device to regular speed. if the ds1996 is in overdrive mode and the reset pulse is no longer than 80 s the device will remain in overdrive mode.
ds1996 13 of 18 rom functions flow chart figure 9 1) to be transmitted or received at overdrive speed if od=1 2) the presence pulse will be short if od=1
ds1996 14 of 18 rom functions flow chart figure 9 (cont?d) 3) always to be transmitted at overdrive speed
ds1996 15 of 18 initialization procedure ?reset and presence pulses? figure 10 regular speed overdrive speed 480 m s t rstl < * 48 m s t rstl < 80 m s 480 m s t rsth < (includes recovery time) 48 m s t rsth < 15 m s pdh < 60 m s 2 m s t pdh < 6 m s 60 m s t pdl < 240 m s 8 m s t pdl < 24 m s * in order not to mask interrupt signaling by other devices on the 1-wire bus, t rstl + t r should always be less than 960 m s. read/write time slots the definitions of write and read time slots are illustrated in figure 11. all time slots are initiated by the master driving the data line low. the falling edge of the data line synchronizes the ds1996 to the master by triggering a delay circuit in the ds1996. during write time slots, the delay circuit determines when the ds1996 will sample the data line. for a read data time slot, if a ?0? is to be transmitted, the delay circuit determines how long the ds1996 will hold the data line low overriding the 1 generated by the master. if the data bit is a ?1?, the ibutton will leave the read data time slot unchanged. read/write timing diagram figure 11 write-one time slot regular speed overdrive speed 60 m s t slot < 120 m s 6 m s t slot < 16 m s 1 m s t low1 < 15 m s 1 m s t low1 < 2 m s 1 m s t rec < 1 m s t rec < resistor master ds1996 resistor master
ds1996 16 of 18 read/write timing diagram figure 11 (cont?d) write-zero time slot regular speed overdrive speed 60 m s t low0 < t slot < 120 m s 6 m s t low0 < t slot < 16 m s 1 m s t rec < 1 m s t r ec < read-data time slot regular speed overdrive speed 60 m s t slot < 120 m s 6 m s t slot < 16 m s 1 m s t lowr < 15 m s 1 m s t lowr < 2 m s 0 t release < 45 m s 0 t release < 4 m s 1 m s t rec < 1 m s t rec < t rdv = 15 m s t rdv = 2 m s t su < 1 m s t su < 1 m s resistor master ds1996
ds1996 17 of 18 physical specifications size see mechanical drawing weight 3.3 grams (f5 package) humidity 90% rh at 50c altitude 10,000 feet expected service life 10 years at 25c safety meets ul#913 (4 th edit.); intrinsically safe apparatus, approved under entity concept for use in class i, division 1, group a, b, c and d locations (application pending) absolute maximum ratings* voltage on any pin relative to ground -0.5v to +7.0v operating temperature -40c to +70c storage temperature -40c to +70c * this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. dc electrical characteristics (v pup =2.8v to 6.0v, -40c to +70c) parameter symbol min typ max units notes logic 1 v ih 2.2 v cc +0.3 v 1, 8 logic 0 v il -0.3 +0.8 v 1 output logic low @ 4 ma v ol 0.4 v 1 output logic high v oh v pup 6.0 v 1, 2 input load current i l 5 a 3 capacitance (t a = 25c) parameter symbol min typ max units notes i/o (1-wire) c in/out 100 800 pf 6 ac electrical characteristics regular speed (-40c to 70c) parameter symbol min typ max units notes time slot t slot 60 120 s write 1 low time t low1 1 15 s write 0 low time t low0 60 120 s read data valid t rdv exactly 15 s release time t release 0 15 45 s read data setup t su 1 s 5 recovery time t rec 1 s reset time high t rsth 480 s 4 reset time low t rstl 480 s 7 presence detect high t pdh 15 60 s presence detect low t pdl 60 240 s
ds1996 18 of 18 ac electrical characteristics overdrive speed (-40c to 70c) parameter symbol min typ max units notes time slot t slot 6 16 s write 1 low time t low1 1 2 s write 0 low time t low0 6 16 s read data valid t rdv exactly 2 s release time t release 0 1.5 4 s read data setup t su 1 s 5 recovery time t rec 1 s reset time high t rsth 48 s 4 reset time low t rstl 48 80 s presence detect high t pdh 2 6 s presence detect low t pdl 8 24 s notes: 1. all voltages are referenced to ground. 2. v pup = external pullup voltage. 3. input load is to ground. 4. an additional reset or communication sequence cannot begin until the reset high time has expired. 5. read data setup time refers to the time the host must pull the 1-wire bus low to read a bit. data is guaranteed to be valid within 1 m s of this falling edge. 6. capacitance on the data contact could be 800 pf when power is first applied. if a 5 k w resistor is used to pullup the data line to v cc , 5 ms after power has been applied, the parasite capacitance will not affect normal communications. 7. the reset low time (t rstl ) should be restricted to a maximum of 960 s, to allow interrupt signaling, otherwise, it could mask or conceal interrupt pulses. 8. v ih is a function of the external pullup resistor and the v cc power supply.


▲Up To Search▲   

 
Price & Availability of DS1996L-F5

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X